/**
 * @desc
 *
 * @使用场景
 *
 * @author  杨晓东[of1081]
 * @company qianmi.com
 * @Date    15/8/21
 **/


/**
 * 返回正确的信息
 * @returns {{result: string, data: *, message: string}}
 */
export function resultSucess (data?){
	return {result: 'ok', data: data, message: '操作成功'};
}


/**
 * 失败的操作．　
 * @param data
 * @returns {{result: string, data: *, message: string}}
 */
export function resultfailure (data?){
	return  {result: "error", message : data}
}